[INFO] cloning repository https://github.com/alepez/rust-stm32-experiment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alepez/rust-stm32-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8583b628702a73c05c36d36ec4f40ab8a08805ed
[INFO] checking alepez/rust-stm32-experiment against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falepez%2Frust-stm32-experiment" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/alepez/rust-stm32-experiment on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] finished tweaking git repo https://github.com/alepez/rust-stm32-experiment
[INFO] tweaked toml for git repo https://github.com/alepez/rust-stm32-experiment written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/alepez/rust-stm32-experiment already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c9e708208d41120db6f6736fcb7e06754d95d77f038883f1f06c1dd1dc87c71e
[INFO] running `Command { std: "docker" "start" "-a" "c9e708208d41120db6f6736fcb7e06754d95d77f038883f1f06c1dd1dc87c71e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c9e708208d41120db6f6736fcb7e06754d95d77f038883f1f06c1dd1dc87c71e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9e708208d41120db6f6736fcb7e06754d95d77f038883f1f06c1dd1dc87c71e", kill_on_drop: false }`
[INFO] [stdout] c9e708208d41120db6f6736fcb7e06754d95d77f038883f1f06c1dd1dc87c71e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1ca71adf0aba37e53f08d9896721c4dbdd8ab6bc73f134408cba57feeeb377e
[INFO] running `Command { std: "docker" "start" "-a" "c1ca71adf0aba37e53f08d9896721c4dbdd8ab6bc73f134408cba57feeeb377e", kill_on_drop: false }`
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]     Checking nb v1.0.0
[INFO] [stderr]    Compiling cortex-m v0.7.3
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]     Checking vcell v0.1.3
[INFO] [stderr]     Checking bitfield v0.13.2
[INFO] [stderr]    Compiling cortex-m-rt v0.6.15
[INFO] [stderr]    Compiling stm32h7 v0.13.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking r0 v0.2.2
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking bare-metal v1.0.0
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]     Checking panic-halt v0.2.0
[INFO] [stderr]     Checking volatile-register v0.2.1
[INFO] [stderr]     Checking embedded-dma v0.1.2
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking embedded-hal v0.2.6
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.6.15
[INFO] [stderr]     Checking stm32h7xx-hal v0.10.0
[INFO] [stderr]     Checking nucleo-h743zi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ccdr`, `CoreClocks`
[INFO] [stdout]  --> src/rusty_logger.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use stm32h7xx_hal::rcc::{Ccdr, CoreClocks};
[INFO] [stdout]   |                          ^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config::Config`
[INFO] [stdout]  --> src/rusty_logger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use stm32h7xx_hal::serial::{Rx, Serial, Tx, config::Config};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peripherals`
[INFO] [stdout]  --> src/rusty_logger.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32h7xx_hal::stm32::{Peripherals, USART3};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::time::U32Ext`
[INFO] [stdout]  --> src/rusty_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stm32h7xx_hal::time::U32Ext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Debug`
[INFO] [stdout]  --> src/rusty_logger.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt::{Debug, Display, Write};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::smart_timer::SmartTimer`
[INFO] [stdout]  --> src/rusty_logger.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::smart_timer::SmartTimer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ccdr`, `CoreClocks`
[INFO] [stdout]  --> src/rusty_logger.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use stm32h7xx_hal::rcc::{Ccdr, CoreClocks};
[INFO] [stdout]   |                          ^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `config::Config`
[INFO] [stdout]  --> src/rusty_logger.rs:2:45
[INFO] [stdout]   |
[INFO] [stdout] 2 | use stm32h7xx_hal::serial::{Rx, Serial, Tx, config::Config};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Peripherals`
[INFO] [stdout]  --> src/rusty_logger.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use stm32h7xx_hal::stm32::{Peripherals, USART3};
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::time::U32Ext`
[INFO] [stdout]  --> src/rusty_logger.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stm32h7xx_hal::time::U32Ext;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Debug`
[INFO] [stdout]  --> src/rusty_logger.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::fmt::{Debug, Display, Write};
[INFO] [stdout]   |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::smart_timer::SmartTimer`
[INFO] [stdout]  --> src/rusty_logger.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::smart_timer::SmartTimer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/hc_sr04.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let start = self.timer.now_us();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/hc_sr04.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stop = self.timer.now_us();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |                      ----^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/hc_sr04.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let start = self.timer.now_us();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stop`
[INFO] [stdout]    --> src/hc_sr04.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let stop = self.timer.now_us();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_stop`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rusty_logger.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let (mut tx, mut rx) = serial.split();
[INFO] [stdout]    |                      ----^^
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/hc_sr04.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         trigger.set_low();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = trigger.set_low();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.trigger.set_high();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let _ = self.trigger.set_high();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         self.trigger.set_low();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let _ = self.trigger.set_low();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/hc_sr04.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         trigger.set_low();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = trigger.set_low();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.trigger.set_high();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let _ = self.trigger.set_high();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/hc_sr04.rs:145:9
[INFO] [stdout]     |
[INFO] [stdout] 145 |         self.trigger.set_low();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let _ = self.trigger.set_low();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/bin/serial.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |     serial::{self, Serial, Error},
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `timer::Timer`
[INFO] [stdout]  --> src/bin/distance_sensor.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use stm32h7xx_hal::{prelude::*, timer::Timer, serial::{self, Serial, Error}};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use core::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::asm`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cortex_m::asm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedded_hal::digital::v2::OutputPin`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::device::DWT`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32h7xx_hal::device::DWT;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/bin/serial.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |     serial::{self, Serial, Error},
[INFO] [stdout]    |                            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `spi` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-5f28aa5a56e3ee20.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `serial` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-5f28aa5a56e3ee20.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `i2c` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-5f28aa5a56e3ee20.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "i2c") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "spi") due to 2 previous errors
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `blinky` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-5f28aa5a56e3ee20.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `timer::Timer`
[INFO] [stdout]  --> src/bin/distance_sensor.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use stm32h7xx_hal::{prelude::*, timer::Timer, serial::{self, Serial, Error}};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use core::fmt::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cortex_m::asm`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use cortex_m::asm;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `embedded_hal::digital::v2::OutputPin`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use embedded_hal::digital::v2::OutputPin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stm32h7xx_hal::device::DWT`
[INFO] [stdout]   --> src/bin/distance_sensor.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use stm32h7xx_hal::device::DWT;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "serial" test) due to 2 previous errors; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "i2c" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "distance_sensor") due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "spi" test) due to 2 previous errors
[INFO] [stdout] error: language item required, but not found: `eh_personality`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this can occur when a binary crate with `#![no_std]` is compiled for a target where `eh_personality` is defined in the standard library
[INFO] [stdout]   = help: you may be able to compile for a target that doesn't need `eh_personality`, specify a target with `--target` or in `.cargo/config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "serial") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `panic_halt` (which `distance_sensor` depends on)
[INFO] [stdout]   = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-5f28aa5a56e3ee20.rmeta
[INFO] [stdout]   = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a8a9ba95b1228749.rlib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "blinky" test) due to 2 previous errors
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "blinky") due to 2 previous errors
[INFO] [stderr] error: could not compile `nucleo-h743zi` (bin "distance_sensor" test) due to 2 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c1ca71adf0aba37e53f08d9896721c4dbdd8ab6bc73f134408cba57feeeb377e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1ca71adf0aba37e53f08d9896721c4dbdd8ab6bc73f134408cba57feeeb377e", kill_on_drop: false }`
[INFO] [stdout] c1ca71adf0aba37e53f08d9896721c4dbdd8ab6bc73f134408cba57feeeb377e
